import { createApp } from 'vue'
import '@/assets/css/common.css'
import '@/assets/css/index.scss'
import App from './App.vue'
import router from './router'
import {createPinia} from 'pinia'
import piniaPluginPersistedstate  from 'pinia-plugin-persistedstate'

//实例化pinia
const pinia = createPinia()
pinia.use(piniaPluginPersistedstate)

createApp(App).use(router).use(pinia).mount('#app')